package com.twsjw.entity;

/**
 * Street entity. @author MyEclipse Persistence Tools
 */

public class Street implements java.io.Serializable {

	// Fields

	private Integer streetId;
	private District district;
	private String streetName;

	// Constructors

	/** default constructor */
	public Street() {
	}

	/** minimal constructor */
	public Street(District district) {
		this.district = district;
	}

	/** full constructor */
	public Street(District district, String streetName) {
		this.district = district;
		this.streetName = streetName;
	}

	// Property accessors

	public Integer getStreetId() {
		return this.streetId;
	}

	public void setStreetId(Integer streetId) {
		this.streetId = streetId;
	}

	public District getDistrict() {
		return this.district;
	}

	public void setDistrict(District district) {
		this.district = district;
	}

	public String getStreetName() {
		return this.streetName;
	}

	public void setStreetName(String streetName) {
		this.streetName = streetName;
	}

}